package com.zyso.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class DetailDTO {
    @NotNull(message = "源不能为空")
    @Range(min = 1, max = 19, message = "源不合法")
    private Integer siteId;

    @NotNull(message = "资源不能为空")
    private Integer id;
}
